.x6-graph-box {
  overflow: hidden;
  height: calc(100% - 36px);
  &.readonly{
    height: 100%;
  }
}

.x6-port-body {
  &.available {
    stroke: rgba(57,202,116,.6);
    r: 6;
    stroke-width: 4px;
  }
  &.adsorbed {
    r: 8;
  }
}
// 边的样式
.x6-edge {
  &-selected,
  &:hover {
    path[stroke-width='1'] {
      stroke-width: 2.5px;
      stroke: rgb(24,144,255);
    }
  }
}

#x6-minimap{

}

.x6-graph-container {
  width: 100%;
  height: 100%;
  // min-height: 10px;
  min-height: 600px;//测试
  min-width: 10px;
}

.x6-graph-scroller {
  overflow: hidden;
}
/*去除graph中的线条*/
.x6-graph {
  box-shadow: none !important;
}
.x6-graph-pagebreak-vertical,
.x6-graph-pagebreak-horizontal {
  border: none;
}

@keyframes running-line {
  to {
    stroke-dashoffset: -1000;
  }
}

.x6-cell-tool-editor{
  height: 164px;
  padding: 31px 6px 6px 5px;
  text-align: left;
  background-color: unset !important;
}

.x6-widget-selection-inner{
  border: 1px solid #1890ff;
}

.node-popover{
  padding: 0;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
